package com.qf.student.vo.input;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

/**
 * @author YaoJiXing
 * created 2022/11/25 17:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UpdateScoreInputVo {

    private Integer scId;
    @Range(min = 0, max = 100, message = "日常成绩范围不正确")
    private Integer scDailyScore;
    @Range(min = 0, max = 100, message = "考试成绩范围不正确")
    private Integer scExamScore;
    private Integer scScore;

}
